﻿
using CatUtils.Utils.SpecialUtils.View;
using System;
using System.Windows.Forms;

namespace RabbitDownload.WebSite.Pixiv.Pixivision
{
    public partial class PixivisionControl : UserControl
    {
        public PixivisionControl()
        {
            InitializeComponent();
        }

        private void textBox1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text != "")
                if (MessageHelper.DialogResultAlert("是否清除内容"))
                    textBox1.Text = "";
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text != "")
                PixivisionHelper.AutoStart(textBox1.Text);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            PixivisionHelper.BatchDownload(textBox2.Text, textBox3.Text);
        }
    }
}